package com.shiminghui;

import java.util.Scanner;

public class GeShiBai {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int number = sc.nextInt();

        int ge = number%10;
        int shi = number/10%10;
        int bai = number/100%10;
        System.out.println("个位是"+ge+"\n十位是"+shi+"\n百位是"+bai);
    }
}
